package com.li.pojo;

import org.springframework.stereotype.Component;


public class Teacher {
    String tno;
    String tname;
    String tsex;
    String ttel;
    String tdept;
    String tcourse;

   public Teacher(){

   }
   public Teacher(String tno){
       this.tno=tno;
   }

    public String getTno() {
        return tno;
    }

    public void setTno(String tno) {
        this.tno = tno;
    }

    public String getTname() {
        return tname;
    }

    public void setTname(String tname) {
        this.tname = tname;
    }

    public String getTsex() {
        return tsex;
    }

    public void setTsex(String tsex) {
        this.tsex = tsex;
    }

    public String getTtel() {
        return ttel;
    }

    public void setTtel(String ttel) {
        this.ttel = ttel;
    }

    public String getTdept() {
        return tdept;
    }

    public void setTdept(String tdept) {
        this.tdept = tdept;
    }

    public String getTcourse() {
        return tcourse;
    }

    public void setTcourse(String tcourse) {
        this.tcourse = tcourse;
    }

    @Override
    public String toString() {
        return "teacher{" +
                "tno='" + tno + '\'' +
                ", tname='" + tname + '\'' +
                ", tsex='" + tsex + '\'' +
                ", ttel='" + ttel + '\'' +
                ", tdept='" + tdept + '\'' +
                ", tcourse='" + tcourse + '\'' +
                '}';
    }
}
